Applied patch from Jan Heller.
authorØyvind Kolås <ok@src.gnome.org>
Sun, 13 Apr 2008 22:52:49 +0000 (22:52 +0000)
committerØyvind Kolås <ok@src.gnome.org>
Sun, 13 Apr 2008 22:52:49 +0000 (22:52 +0000)
commite8234f2da829684fe9a8ae74592e5eae1f986511
tree4d56d2aa57ae53ff8ff5f88090cbbffcae4f7cbd
parent964295f6d23e16a837310c365dc4e4bf1865eddf
Applied patch from Jan Heller.
* babl/babl-fish-path.c: (get_conversion_path), (babl_fish_path),
(test_create), (init_path_instrumentation),
(destroy_path_instrumentation), (get_path_instrumentation): Improved
fish path instrumentation during the search for a new one to optimize
for speed. Added logic to disallow creation of a fish path that is
actually slower than appropriate reference fish.
* babl/babl-util.[ch]: (babl_process_cost): New function for unified
timing formula for babl processings.
* babl/babl-conversion.c: (babl_conversion_error): Make use of the
new babl_process_cost function.
* extensions/gimp-8bit.c: Added a function declaration to prevent
compiler warning.

svn path=/trunk/; revision=305
ChangeLog
babl/babl-conversion.c
babl/babl-fish-path.c
babl/babl-util.c
babl/babl-util.h
extensions/gimp-8bit.c